package com.xsprite.managesys.action;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.xsprite.managesys.bean.QueryServer;
import com.xsprite.managesys.service.ServersDatabaseManager;
import com.zhangzhang.struts.action.Action;

public class ToQueryPlayerBasicInfoAction extends Action{

	@Override
	protected void act(HttpServletRequest req, HttpServletResponse resp) {
		ServersDatabaseManager manager = ServersDatabaseManager.getInstance();
		List<QueryServer> servers = manager.getServersLsit();
		req.setAttribute("servers", servers);
		super.act(req, resp);
	}
}
